//
//  ChoicesTableViewController.h
//  HongYanNews
//
//  Created by 123 on 14-7-5.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ShowChoiceDelegate <NSObject>

// selectedIndex用于从数组中获取pid、cid用 tag用于switch判断
- (void)showChoice:(NSString*)choice SelectedIndex:(NSInteger)selectedIndex Tag:(NSInteger)tag;

@end

@interface ChoicesTableViewController : UITableViewController

@property (nonatomic,weak) id<ShowChoiceDelegate> choiceDelegate;

@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSArray *dataArr;

@property (nonatomic, strong) NSString *choiceStr;
@property (nonatomic, assign) NSInteger tag_;

@end
